package com.etc.dao;

import java.util.List;

import com.etc.entity.Users;

public interface IUserDao {
	//根据用户名和密码查询用户信息
	public Users queryUsersByNameandPwd(String userName,String userPwd);
	//查询所有用户
	public List<Users> queryUsers();
	//添加用户
	public boolean addUsers(Users user);
	
	//注册普通用户
	public boolean register(String userName,String userPwd,String userImg);
	//验证用户名
	public boolean queryByName(String uname);
}
